﻿@model Lion.WeiXin.Core.TemplateEngineModel 
@using Lion.WeiXin.Core.Models
@using Lion.WeiXin.Core
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="Keywords" content="">
    <meta name="Description" content="">
    <title>美好时光</title>
    <link rel="stylesheet" href="/css/pintuer.css">
    <link rel="stylesheet" href="/css/base.css">
</head>
<body>
    <div class="layout bg_top">
        <div class="container max_width text-right"><a href="http://www.mhsg100.com" target="_blank">美好时光</a>　|　<a href="http://www.mhsg100.com" target="_blank">微信商城</a>　|　<a href="http://www.mhsg100.com" target="_blank">养生频道</a>　|　<a href="http://help.sdcms.cn" target="_blank">微信问答</a></div>
    </div>

    <div class="layout bg-white" id="header">
        <div class="container max_width">
            <div class="logo float-left fadein-left"><a href="/"></a></div>
            <div class="text-right float-right" id="nav">
                <ul class="menu fadein-right">
                    @foreach(CategoryModel cat in Model.GetHomeNav())
                    {
                        if(cat.Name=="首页")
                        {
                         <li class="current"><a href="@cat.Url">@cat.Name</a></li>
                        }
                        else{
                          <li><a href="@cat.Url">@cat.Name</a></li>
                        }
                    }
                </ul>
                <div class="nav-current fadein-right"></div>
            </div>
        </div>
    </div>

    <div class="layout text-center fadein-bottom">
        <div class="banner">
            <div class="carousel">
                <!---首页幻灯图-->
                @foreach(ArticleModel art in Model.GetArticleList(3,"1004")){
                    <div class="item b01"><a href="@art.Url"><img style="width:100%;height:100%" src="@art.Image" alt="@art.Title" /></a></div>
                }
            </div>
        </div>
    </div>

    <div class="container max_width fadein-top">
        <div class="subject text-center padding-big">热销产品</div>
        <div class="line">

            <!--<div class="x3">
                <div class="pro p01">
                    <div class="item"><img style="width:100%;height:100%" src="/img/环境 (3).jpg" /></div>
                    <div class="line">
                        <div class="x4"><a href="/product/portal.html">产品介绍</a></div>
                        <div class="x4"><a href="/product/portal.html?v=2">版本区别</a></div>
                        <div class="x4"><a href="/product/portal.html?v=3">下载体验</a></div>
                    </div>
                </div>
            </div>-->
            @foreach(ProductModel pro in Model.GetHotProducts(4)){
                <div class="xl12 xs6 xm4 xb3">
                    <div class="media padding-bottom clearfix">
                        <a href="#"><img src="@pro.Image" class="radius img-responsive" alt="@pro.Name"></a>
                        <div class="media-body">
                            <strong>@pro.Name</strong>
                        </div>
                    </div>
                </div>
            }
            
        </div>
    </div>

    <div class="container max_width">
        <div class="line">

            <div class="case">
                <div class="subject padding-big">产品推荐</div>
                <div class="line">
                    @foreach(ProductModel pro in Model.GetHotProducts(6)){
                    <div class="x4"><a href="#" target="_blank" title="@pro.Name"><div><img src="@pro.Image" alt="@pro.Name" title="@pro.Name" /></div><p>@pro.Name</p></a></div>
                    }

                </div>
            </div>

            <div class="news">
                <div class="subject">最新动态</div>
                    <div class="view-body">
                        <ul class="list-text">
                            @foreach(ArticleModel art in Model.GetArticleList(10,"1001")){
                            <li><span class="date">@art.CreateDate.ToString("MM-dd")</span><a href="@art.Url">@art.Title</a></li>
                            }  
                        </ul>                              
                    </div>
                    <!---->
                </div>

            </div>
        </div>

        <div class="layout article">
            <div class="container max_width">
                <div class="line">

                    <div class="x3">
                        <div class="subject padding-big-top">养生频道</div>
                        <div class="bg_line"></div>
                        <ul>

                            @foreach(ArticleModel art in Model.GetArticleList(5,"1005")){
                            <li><a href="@art.Url" title="@art.Title">@art.Title</a></li>
                            }

                        </ul>
                    </div>

                    <div class="x3">
                        <div class="subject padding-big-top">保养常识</div>
                        <div class="bg_line"></div>
                        <ul>
                            @foreach(ArticleModel art in Model.GetArticleList(5,"1007")){
                            <li><a href="@art.Url" title="@art.Title">@art.Title</a></li>
                            }
                        </ul>
                    </div>

                    <div class="x3">
                        <div class="subject padding-big-top">养生频道</div>
                        <div class="bg_line"></div>
                        <ul>
                            @foreach(ArticleModel art in Model.GetArticleList(5,"1005")){
                            <li><a href="@art.Url" title="@art.Title">@art.Title</a></li>
                            }
                        </ul>
                    </div>


                    <div class="x3">
                        <div class="subject padding-big-top">保养常识</div>
                        <div class="bg_line"></div>
                        <ul>
                            @foreach(ArticleModel art in Model.GetArticleList(5,"1007")){
                            <li><a href="@art.Url" title="@art.Title">@art.Title</a></li>
                            }
                        </ul>
                    </div>

                </div>
            </div>
        </div>

      <!--foot-->
        <div class="layout copyright text-center padding-big text-small">
            Copyright@2011 重庆美好时光健康咨询有限公司 All Rights Reserved 渝ICP备12002477号-3<br />
            地 址：重庆市江北.红土地立交长安丽都揽胜国际四楼\解放碑青年路7号时代豪苑D座10-10 电话：400-023-1611 或 023-67504712 邮编：400020
        </div>

    <script src="/js/jquery.js"></script>
    <script src="/js/jquery-migrate-1.1.0.min.js"></script>
    <script src="/js/pintuer.js"></script>
</body>
</html>

